package com.jjiang.bbmall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1. 开启服务的注册发现（需要配置nacos地址等）
 */

@EnableDiscoveryClient
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
// 需要排除这个依赖
public class BbmallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(BbmallGatewayApplication.class, args);
    }

}
